<?php
/**
* Display the action screen
*
* @author       Fabrice Douteaud <admin@clearbudget.net>
* @package      snippets
* @access       public
*/

/***********************************************************************

  Copyright (C) 2008  Fabrice Douteaud (admin@clearbudget.net)

    This file is part of ClearBudget.

    ClearBudget is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    ClearBudget is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with ClearBudget.  If not, see <http://www.gnu.org/licenses/>.


************************************************************************/
//prevent direct access
if(!defined('ENGINEON')) die('Direct access forbidden');
?>
<div class="title"><?php echo $keys->text_actionTransaction; ?></div><br/>
<div style="align: left;">
<table>
  <tr>
    <td style="text-align: center;"><a href="#" action="uploadQif" toDiv="subAction1"><img src="style/icons/table_add.png"/> <?php echo $keys->link_uploadQif; ?></a></td>
    <td style="text-align: center; width: 200px;"><a href="#" action="uploadQfx" toDiv="subAction1"><img src="style/icons/table_gear.png"/> <?php echo $keys->link_uploadQfx; ?></a></td>
    <td style="text-align: center; width: 200px;"><a href="#" action="addTransactionsManualy" toDiv="subAction1"><img src="style/icons/table_go.png"/> <?php echo $keys->link_uploadManual; ?></a></td>
    <td style="text-align: center; width: 200px;"><a href="#" action="manageUpload" toDiv="subAction1"><img src="style/icons/table_edit.png"/> <?php echo $keys->link_manageUploads; ?></a></td>
  </tr>
</table>
</div><br/>
<div id="subAction1"></div>
<div class="title"><?php echo $keys->text_actionTransactions; ?></div><br/>
<div style="align: left;">
<table  >
  <tr>
    <td style="text-align: center; "><a href="#" action="editCategories" toDiv="subAction2"><img src="style/icons/tag_blue_edit.png"/> <?php echo $keys->link_editCategory; ?></a></td>
    <td style="text-align: center; width: 150px;"><a href="#" action="editKeywords" toDiv="subAction2"><img src="style/icons/link_edit.png"/> <?php echo $keys->link_editKeywords; ?></a></td>
    <td style="text-align: center; width: 150px;"><a href="#" action="autoFileItem" toDiv="subAction2"><img src="style/icons/database_gear.png"/> <?php echo $keys->link_autoSort; ?></a></td>
    <td style="text-align: center; width: 150px;"><a href="#" action="keywordSuggestor" toDiv="subAction2"><img src="style/icons/link_break.png"/> <?php echo $keys->link_keywordSuggestor; ?></a></td>
  </tr>
  </table>
</div><br/>
<div id="subAction2"></div>
<div class="title"><?php echo $keys->link_pageBackup; ?></div><br/>
<div>
<table>
  <tr>
    <td style="text-align: center;"><a href="index.php?ajax=1&action=doBackup"><img src="style/icons/database_save.png"/> <?php echo $keys->link_pageBackup; ?></a></td>
  </tr>
</table>
</div>